import { configure, getLogger } from "log4js";
import config from "../config"; // 导入全局配置.dotenv

configure(config.log); // 传入配置到log4js

export const accessLogger = getLogger('access');
export const dbLogger = getLogger('db');
export default getLogger();